package com.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 缺陷字典表
 * </p>
 *
 * @author chl
 * @since 2024-10-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="DefectDictionary对象", description="缺陷字典表")
public class DefectDictionaryVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "字典名称")
    private String dictionaryName;

    @ApiModelProperty(value = "字典编码")
    private String dictionaryCode;

    @ApiModelProperty(value = "父字典编码")
    private String dictionaryParentCode;

    @ApiModelProperty(value = "字典关联编码")
    private String dictionaryRelationCode;

    @ApiModelProperty(value = "字典状态是否禁用 0=否，1=是；详见字典表，编码为：is_forbidden")
    private Integer isForbidden;

    @ApiModelProperty(value = "专业 tms=输电专业，dms=配电专业，sms=变电专业；详见字典表，编码为：biz_major")
    private String major;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "创建部门")
    private Long createDept;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    private Long updateUser;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "是否删除 0=否，1=是；详见字典表，编码为：yes_no")
    private Integer isDeleted;

    @ApiModelProperty(value = "字典备注")
    private String codeRemark;

    List<DefectDictionaryVo> vo;
}
